﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Notepad.GoTo
{
    public partial class frmGoto : Form
    {
        public frmGoto()
        {
            InitializeComponent();
        }

        private void frmGoTo_Load(object sender, EventArgs e)
        {

        }

        private void button2_Click(object sender, EventArgs e)
        {
            Close();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            DialogResult = DialogResult.OK;
            
            ///传递参数
            Tag = textLine.Text;
            Close();
            
        }
    }
}
